<template>
  <d2-container>
  </d2-container>
</template>

<script>
  import {
    giftListUrl,
    giftCreateUrl,
    giftDetailUrl,
    giftUpdateUrl,
    giftDeleteUrl,
  } from '@/utils/promotion'
  export default {
    data(){
      return{}
    },
    mounted() {
      this.getGiftList()
    },
    methods:{
      getGiftList(){
        this.$get(giftListUrl).then(res=>{
          this.giftList = res.data.data.list
          console.log(this.giftList);
        })
      }
    }
  }
</script>

<style>
</style>
